/*
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：                                                    
*│　作    者：sys                                              
*│　创建时间：2020-12-02 15:37:23   
*│　说    明：代码生成器生成   
*└──────────────────────────────────────────────────────────────┘
*/
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;

namespace SXFramWork.Model
{
	/// <summary>
	/// 字典
	/// </summary>
	[Table("SysDictionary")]
	public partial class SysDictionaryEntity
	{
		/// <summary>
		///  
		/// </summary>
		[ExplicitKey]
		public string Id {get;set;}

		/// <summary>
		/// 名称
		/// </summary>
		
		public string Name {get;set;}

		
		/// <summary>
		/// 排序
		/// </summary>
		
		public int Sort {get;set;}

		/// <summary>
		/// 上一级id
		/// </summary>
		
		public string ParentId {get;set;}

		public DateTime CreateTime {get;set;}

		
		public string Code {get;set;}

		
		public string Value {get;set;}

		[Write(false)]
	    //父级
		public List< SysDictionaryEntity> Parent{ get; set; }
		[Write(false)]
		public bool Selected { get; set; } = false;

	}
}
